
using System.Collections.Generic;

namespace webSocket
{
/*
 * 消息输出接口
 */
public interface Output
{
        void writeBoolean(bool v);

        void writeInt(int v);

        void writeLong(long v);

        void writeFloat(float v);

        void writeDouble(double v);

        void writeString(string s);

        void writeBytes(Byte bs);

        void writeByteBuf(Byte bs);

        void writeBooleanArray(bool[] v);

        void writeIntArray(int[] v);

        void writeLongArray(long[] v);

        void writeFloatArray(float[] v);

        void writeDoubleArray(double[] v);

        void writeStringArray(string[] v);
        void writeList(Output _in, List<IWebSocketMessage> t);
        void writeT(Output _in, IWebSocketMessage t);
    }

}